<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <c:set var="ctx" value="${pageContext.request.contextPath }"></c:set>
		<meta charset="utf-8" />
		<title>华阳物流</title>
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resources/css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resources/css/bootstrap-theme.min.css"/>
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resources/css/style.css"/>
		<script type="text/javascript"> 
		   window.onload=function(){ 
				var action ='<%=request.getAttribute("action")%>';
				if(action.length!==4)
				{
						alert(action);
				}
			} 
		</script> 
	</head>
	<body>
		<div class="index-wrap">
			<div class="index-mask">
				<!--<div class="index-title text-center">
				   <h4>华阳物流</h4>
			    </div>-->
			    <div class="content-containder">
			    	<div class="" style="display:table-cell;vertical-align:middle;">
			    		<div class="" style="max-width:550px; margin: auto;">
			    				<img src="<%=request.getContextPath()%>/resources/img/raw_1514433297.png"/>	
			    				<c:if test="${action!=null}">
									<p class="text-center"      style="color:white;font-size:20px;"   id="quanxian"  ">${action }</p>	
								</c:if>		    			
			    		</div>
			    	
			    		<div class="" style="width:1170px; margin: auto;position: absolute;top:0;left: 20px;">
			    			<div class="container index-content">
	                            <div class="row clearfix text-center">
		                            <div class="col-xs-1 col-md-1 column">
		                            	<a href="${ctx }/department/showDept">
			                               <img src="<%=request.getContextPath()%>/resources/img/raw_1515634515.jpeg"/>
			                               <span>部门</span>
			                            </a>
		                            </div>
		                            <div class="col-xs-1 col-md-1 column">
		                            	<a href="${ctx }/drivers/add_driver?pageNow=1">
			                                <img src="<%=request.getContextPath()%>/resources/img/raw_1515634577.jpeg"/>
			                                <span>驾驶员</span>
			                            </a>
		                            </div>
		                            <div class="col-xs-1 col-md-1 column">
		                            	<a href="${ctx }/accident/showAccident?pageNow=1">
			                           <img src="<%=request.getContextPath()%>/resources/img/raw_1515634746.jpeg"/>
			                           <span>事故</span>
			                           </a>
		                            </div>
		                            <div class="col-xs-1 col-md-1 column">
		                            	<a href="${ctx }/after/showAfter?pageNow=1">
			                            <img src="<%=request.getContextPath()%>/resources/img/raw_1515634705.jpeg"/>
			                            <span>售后</span>
			                            </a>
		                            </div>
		                            <div class="col-xs-1 col-md-1 column">
		                            	<a href="${ctx }/accountlist/selectAccountList">
			                            <img src="<%=request.getContextPath()%>/resources/img/raw_1515634672.jpeg"/>
			                            <span>会计</span>
			                            </a>
		                            </div>
		                            <div class="col-xs-1 col-md-1 column">
		                            	<a href="${ctx }/back/guanli">
			                                <img src="<%=request.getContextPath()%>/resources/img/raw_1515634631.jpeg"/>
			                                <span>管理员</span>
			                            </a>
		                            </div>
	                            </div>
                            </div>		    			
			    		</div>
			    	</div>
			    </div>
			</div>	
		</div>	
		
		
	</body>
	
</html>
